// Created by Administrator on 2015/11/27.

extends ../public/layout
block content
    .container.recipe-details(style="padding:50px;background-color:#FFFFFF")
        h2 #{recipe.title}
        div(style="width:300px;height:300px")
            img(src="#{recipe.finishedProductImage}" width=300  height=300)
        h2 背景小故事
        p.content #{recipe.backgroundStory}
        h2 用料
        div(style="width:400px;")
            table.table.table-bordered
                each value, key in recipe.ingredient
                    tr
                        th #{key}
                        td #{value}
        h2 制作方法
        table.table.table-bordered
            each value, key in recipe.step
                tr
                    th #{key}
                    td #{value}
        h2 小技巧
        p.content #{recipe.knack}
